import withIconColor from './withIconColor';
import { TIconProps } from '@/types';

const LocationIcon = (props: TIconProps) => {
   return (
      <svg
         viewBox="0 0 1024 1024"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         p-id="6564"
         width={props.size}
         height={props.size}
      >
         <path
            d="M512 64C306.4 64 140 230.4 140 436c0 101.6 40.8 194.4 107.2 261.6L512 960l264-263.2c66.4-67.2 107.2-159.2 107.2-261.6C884 230.4 717.6 64 512 64z m128 331.2c-4.8 62.4-54.4 112-116.8 116.8-75.2 6.4-138.4-53.6-138.4-127.2 0-70.4 57.6-128 128-128 73.6 0 133.6 63.2 127.2 138.4z"
            p-id="6565"
            fill={props.color}
         ></path>
      </svg>
   );
};

export default withIconColor(LocationIcon);
